package com.liufeng.test.spring.config;

import com.liufeng.test.spring.jar.APIObject;
import com.liufeng.test.spring.jar.APIObjectImpl;
import org.springframework.context.annotation.*;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Configuration
@EnableAspectJAutoProxy
@ComponentScan(basePackages = "com.liufeng.test.spring",
        excludeFilters = {@ComponentScan.Filter(type = FilterType.ANNOTATION,value = EnableWebMvc.class)} )
public class RootConfig {
    @Bean
    public APIObject getAPIObject(){
        return new APIObjectImpl();
    }
}
